<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body>
<?php
require_once './../class/Category.inc';

$cate = $_POST ['cate'];
$item_value = $_POST ['cate_value'];

// echo "1111111";
// echo $cate;

$category = new Category ();
$category->createCategory ( $cate, $item_value );
?>

<script type="text/javascript">
alert("입력하신 분류가  생성되었습니다.");
history.back();
</script>

</body>
</html>